#ifndef _RETRO_EDITSCRIPT
#define _RETRO_EDITSCRIPT

namespace Retro
{
  namespace Creator
  {
    namespace Dialog
    {
      class EditScript : public DialogBase {
      private:
        HWND
          mCombLang;
        HWND
          mEditName;
        Label
          mLblName,
          mLblLang;
        Button
          mBtnOK,
          mBtnCancel;
        Separator
          mSepButtons,
          mSepName;

      protected:
        VOID            onNotify(Event::NotifyEvent& iEvent);
        VOID            onCommand(Event::CommandEvent& iEvent);
        VOID            onLoad();
        VOID            onUnload();
        VOID            onInit();

      public:
        VOID            setScript(Data::Script* value);
        VOID            getScript(Data::Script* value);
        VOID            newScript();
      };
    } // namespace Dialog
  } // namespace Creator
} // namespace Retro

#endif